import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'
import Home from '../components/page/Home/index.vue'
import Top from '../components/page/Top/index.vue'
import Mine from '../components/page/Mine/index.vue'
import Artists from '../components/page/Artists/index.vue'
import Search from '../components/page/Search/index.vue'
import SongList from '../components/page/SongList/index.vue'

Vue.use(Router);

export default new Router({
  routes: [{
    path: '/',
    name: 'Home',
    component: Home
  }, {
    path: '/top',
    name: 'Home',
    component: Top
  }, {
    path: '/mine',
    name: 'Mine',
    component: Mine
  }, {
    path: '/atists',
    name: 'Artists',
    component: Artists
  }, {
    path: '/search',
    name: 'Search',
    component: Search
  }, {
    path: '/songList',
    name: 'SongList',
    component: SongList
  }]
})
